const gulp = require('gulp');
const sass = require('gulp-sass');

gulp.task('sass', function() {
    return gulp.src('./src/scss/*.scss')
        .pipe(sass.sync().on('error',sass.logError))
        .pipe(gulp.dest('./build/css'))
})

gulp.task('sass:watch', function() {
    gulp.watch('./src/scss/*.scss', ['sass']);
})